<div id="div_list">
<%= render :partial => 'create' %>
<%= render :partial => 'list' %>
<%= link_to 'Previous page', { :page => @entry_pages.current.previous } if @entry_pages.current.previous %>
<%= link_to 'Next page', { :page => @entry_pages.current.next } if @entry_pages.current.next %> 
<br />
<%= link_to 'New entry', :action => 'new' %>
<br />
<p style="color: green"><%= flash[:notice] %></p>
<%= error_messages_for 'entry' %>
</div>


  
